public class Test {
    public static void main(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode ret = binaryTree.createBinaryTree();

        binaryTree.levelOrder(ret);
    }
    public static void main2(String[] args) {
        /**
         * 二叉树的构建及遍历->Main进行实现
         * @param args
         */
    }
    /**
     * 平衡二叉树
     * @param args
     */
    public static void main1(String[] args) {
        BinaryTree binaryTree = new BinaryTree();
        BinaryTree.TreeNode ret = binaryTree.createBinaryTree();

        System.out.println(binaryTree.isBalanced(ret));

        System.out.println(binaryTree.isBalanced2(ret));
    }
}
